package com.usefullc.user.service;

import com.usefullc.system.query.BaseQuery;
import com.usefullc.system.service.AbstractBizService;
import com.usefullc.user.dao.OuterUserDao;
import com.usefullc.user.domain.OuterUser;
import com.usefullc.user.query.OuterUserQuery;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Service;

import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.CriteriaQuery;
import javax.persistence.criteria.Predicate;
import javax.persistence.criteria.Root;
import java.util.ArrayList;
import java.util.List;

/**
 * 第三方用户服务类
 *
 * @author: Sampson
 * @date: 2018-12-19 16:05
 */
@Service
public class OuterUserService extends AbstractBizService<OuterUser,OuterUserQuery> {

    @Autowired
    private OuterUserDao outerUserDao;

    @Autowired
    private RedisTemplate redisTemplate;

    @Autowired
    private StringRedisTemplate stringRedisTemplate;



    @Override
    public List<Predicate> getPredicates(Root<OuterUser> root, CriteriaQuery<?> query, CriteriaBuilder criteriaBuilder, OuterUserQuery thisQuery) {
        List<Predicate> predicates = new ArrayList<>();
        return predicates;
    }


}
